package com.qyhl.webtv.module_live.teletext.nanbu;

import com.qyhl.webtv.commonlib.entity.live.NanBuLiveTagBean;

import java.util.List;

public class NanBuLiveListPresenter implements NanBuLiveListContract.NanBuLiveListPresenter {
    private NanBuLiveListContract.NanBuLiveListView mView;
    private NanBuLiveListModel mModel;

    public NanBuLiveListPresenter(NanBuLiveListContract.NanBuLiveListView mView) {
        this.mView = mView;
        this.mModel = new NanBuLiveListModel(this);
    }

    @Override
    public void getTagList() {
        mModel.getTagList();
    }

    @Override
    public void setTagList(List<NanBuLiveTagBean> beanList) {
        mView.setTagList(beanList);
    }

    @Override
    public void setTagError(String msg) {
        mView.setTagError(msg);
    }
}
